package cn.edu.hunan.pm.Entity;

import java.sql.Date;

public class Law {
    private Integer lawId;
    private String title;
    private Date publishDate;
    private String detailContent;

    public String getDetailContent() {
        return detailContent;
    }

    public void setDetailContent(String detailContent) {
        this.detailContent = detailContent;
    }

    public Integer getLawId() {
        return lawId;
    }

    public void setLawId(Integer lawId) {
        this.lawId = lawId;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Law{" +
                "detailContent='" + detailContent + '\'' +
                ", lawId=" + lawId +
                ", title='" + title + '\'' +
                ", publishDate=" + publishDate +
                '}';
    }
}